const globalurls = {
  searchUrl: function (w) {
    return 'https://music.jeeas.cn/v1/search?s='+ w +'&from=music'
  },
  detailUrl:function(id){
    return 'https://api.imjad.cn/cloudmusic/?type=detail&id=' +id
  },
  playUrl:function(id){
    return 'https://music.jeeas.cn/v1/music/url?id=' + id + '&from=music'
  },
  commentUrl:function(id){
    return 'https://api.imjad.cn/cloudmusic/?type=comments&id='+ id
  },
  lyricUrl:function(id){
    return 'http://neteasemusic.leanapp.cn/lyric?id='+id
  },
  detail_searchUrl:function(w){
    return "http://neteasemusic.leanapp.cn/search/suggest?keywords="+w
  },
  all_searchUrl:function(w){
    return "http://neteasemusic.leanapp.cn/search/suggest?type=100&keywords=" + w
  }
}

export { globalurls }